package com.qch.concurrent.demo_03_callable;

import java.util.concurrent.Callable;

/**
 * @Author qch
 * @Date 2021/7/26
 *  Callable<String>代表返回值类型
 */
public class MyCallable implements Callable<String> {
    public String call() throws Exception {
        Thread.sleep(5000);
        return "call方法的返回值";
    }
}
